package com.softstao.guoyu.accept;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Author: wangjie
 * Email: tiantian.china.2@gmail.com
 * Date: 6/11/15.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface Accept {
    AcceptScheduler acceptScheduler() default AcceptScheduler.MAIN_THREAD;

    AcceptType[] value() default {};
}
